﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XMK.Tadong.Model
{
    /// <summary>
    /// 用户和空间的绑定关系
    /// </summary>
   public  class Base_UserSpaceInfo
    {
        string userId = "";
        string spaceName = "";
        string spaceId = "";
        bool isAdmin;
        bool isOpen=true;
        bool isDataAdmin;//数据管理员

        public bool IsOpen
        {
            get { return isOpen; }
            set { isOpen = value; }
        }

        /// <summary>
        /// 用户id
        /// </summary>
        public string UserId
        {
            get { return userId; }
            set { userId = value; }
        }
       
        /// <summary>
        /// 空间名
        /// </summary>
        public string SpaceName
        {
            get { return spaceName; }
            set { spaceName = value; }
        }
       
        /// <summary>
        /// 空间id
        /// </summary>
        public string SpaceId
        {
            get { return spaceId; }
            set { spaceId = value; }
        }
       
        /// <summary>
        /// 用户是否是管理员
        /// </summary>
        public bool IsAdmin
        {
            get { return isAdmin; }
            set { isAdmin = value; }
        }
        /// <summary>
        /// 用户是否是数据管理员
        /// </summary>
        public bool IsDataAdmin
        {
            get { return isDataAdmin; }
            set { isDataAdmin = value; }
        }



    }
}
